<template>
	<view>
		<view class="container">
			<view class="top">
				<view>
					<image src="../../static/ct.png" mode="" style="height: 150rpx; width: 150rpx;"></image>
				</view>
				<view style="margin-left: 20rpx;">
					<view style="display: flex;justify-content:space-between;width: 450rpx;margin-bottom: 30rpx;">
						<text>{{name}}</text>
						<uni-icons type="phone-filled" size="30" @click="call"></uni-icons>
					</view>
					<view>
						<text>创意菜馆</text>
						<text style="margin-left: 20rpx;">|</text>
						<text style="margin-left: 20rpx;">9:00--21:00</text>
					</view>
				</view>
			</view>
			<view class="line"></view>
			<view>
				<uni-icons type="location-filled" size="30"></uni-icons>
				<text style="margin-left: 20rpx;">{{add}}</text>
			</view>
		</view>
		<view class="text">
			<view>
				<text>优惠信息公告栏</text>
			</view>
			<view>
				<uni-icons type="minus" size="30"></uni-icons>
				<text>满减，今日全场菜品满25减5元；满30减7元</text>
			</view>
			<view>
				<uni-icons type="info" size="30"></uni-icons>
				<text>折扣，最低折扣0.5折起</text>
			</view>
			<view>
				<uni-icons type="hand-thumbsup" size="30"></uni-icons>
				<text>优惠券，最新发布3元、8元优惠券</text>
			</view>
			<view>
				<uni-icons type="heart" size="30"></uni-icons>
				<text>新用户，新用户首单立减12元</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name: '农家小炒',
				add: '重庆市江北区观音桥美食街3楼22号',
			}
		},
		methods: {
			call() {
				uni.makePhoneCall({
					phoneNumber:"13458863870"
				})
			}
		}
	}
</script>

<style>
.container {
		margin: 10rpx;
		border: 1px solid #999999;
		border-radius: 6rpx;
		height: 270rpx;
		background-color: #FFFFFF;
	}

	.top {
		padding: 20rpx;
		/* background-color: #007AFF; */
		height: 150rpx;
		display: flex;
		/* justify-content: flex-start; */
	}

	.line {
		margin-left: 10rpx;
		width: 690rpx;
		border-bottom: #999999 1px solid;
	}
	.text{
		padding: 20rpx;
	}
	
	
</style>
